using System; using System.Xml.Serialization; namespace Top.Api.Domain { /// /// File Data Structure. /// [Serializable] public class File : TopObject { /// /// 申请cdn资源的分配的userId /// [XmlElement("cdn_user_id")] public long CdnUserId { get; set; } /// /// 文件是否删除 /// [XmlElement("deleted")] public string Deleted { get; set; } /// /// 该文件所属目录的目录编号 /// [XmlElement("dir_id")] public long DirId { get; set; } /// /// 文件在多媒体平台的编号 /// [XmlElement("file_id")] public long FileId { get; set; } /// /// 返回的是绝对路径如:http://img07.taobaocdn.com/imgextra/i7/22670458/T2dD0kXb4cXXXXXXXX_!!22670458.jpg /// [XmlElement("file_path")] public string FilePath { get; set; } /// /// 创建时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 修改时间 /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 文件内容修改时间 /// [XmlElement("modified")] public string Modified { get; set; } /// /// 文件在多媒体平台的文件名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 图片像素,如果非图片,该值为空 /// [XmlElement("picture_pix")] public string PicturePix { get; set; } /// /// 文件的大小 /// [XmlElement("size")] public long Size { get; set; } /// /// 图片状态,unfroze代表没有被冻结,froze代表被冻结,pass代表排查通过 /// [XmlElement("status")] public string Status { get; set; } } }