转typescript public class Withdraw BaseEntity public int WithdrawId get; set; public int Status get; set; public int CreateById get; set; public User CreateBy get; set; Range0 1
interface Withdraw extends BaseEntity { WithdrawId: number; Status: number; CreateById?: number; CreateBy?: User; Credit: number; RealName: string; AlipayAccount?: string; QrCode?: string; Result?: string; }
class WithdrawImpl implements Withdraw { WithdrawId: number; Status: number; CreateById?: number; CreateBy?: User; Credit: number; RealName: string; AlipayAccount?: string; QrCode?: string; Result?: string;
constructor( WithdrawId: number, Status: number, Credit: number, RealName: string, AlipayAccount?: string, QrCode?: string, Result?: string, CreateById?: number, CreateBy?: User ) { this.WithdrawId = WithdrawId; this.Status = Status; this.Credit = Credit; this.RealName = RealName; this.AlipayAccount = AlipayAccount; this.QrCode = QrCode; this.Result = Result; this.CreateById = CreateById; this.CreateBy = CreateBy; } }
原文地址: https://www.cveoy.top/t/topic/bfNz 著作权归作者所有。请勿转载和采集!