py-uni
Version:
py-uni
25 lines (23 loc) • 736 B
text/typescript
/**
* 内容类型对象
*/
export class ContentType {
public TypeId: string; // 类型标识
public ParentId: string; // 父级id
public ReppositoryId: string; // 内容库id
public TypeName: string; // 类型名
public CreateMan: string; // 创建人
constructor(options: {
TypeId?: string;
ParentId?: string;
ReppositoryId?: string;
TypeName?: string;
CreateMan?: string;
} = {}) {
this.TypeId = options.TypeId || '';
this.ParentId = options.ParentId || '';
this.ReppositoryId = options.ReppositoryId || '';
this.TypeName = options.TypeName || '';
this.CreateMan = options.CreateMan || '';
}
}